Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

  Utilities

  Allpass

  Bandpass

  BandpassFlat

  BiquadFilter

  Cavernize

  Comb

  ComplexFilter

  Convolver

  Convolve(float[], float[])

  Convolve(float[], float[], int)

  Convolver(float[], int)

  delay

  Delay

  Finalize(float[], float[])

  future

  impulse

  Impulse

  Process(float[])

  Crossover

  DebugCrossover

  Delay

  DualConvolver

  Echo

  FastConvolver

  Filter

  FilterExtensions

  Gain

  Highpass

  HighShelf

  Lowpass

  LowShelf

  Normalizer

  Notch

  PeakingEQ

  PhaseShifter

  SpikeConvolver

  ThreadSafeFastConvolver

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

class Convolver

Simple convolution window filter.
VisibilityPublic
ExtendsFilter

Public functions

Constructor Convolver(float[] impulse, int delay)Construct a convolver for a target impulse response.
void Process(float[] samples)Apply convolution on an array of samples. One filter should be applied to only one continuous stream of samples.

Public static functions

float[] Convolve(float[] a, float[] b)Perform a convolution.
float[] Convolve(float[] a, float[] b, int delay)Perform a convolution with a delay.

Protected functions

void Finalize(float[] samples, float[] convolved)Output the result and handle the future.

Public properties

int DelayAdditional impulse delay in samples.
float[] ImpulseImpulse response to convolve with.

Protected variables

int delayAdditional impulse delay in samples.
float[] futureSamples to be copied to the beginning of the next output.
float[] impulseImpulse response to convolve with.